package com.xbongbong.workflow.model;


import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.workflow.domain.entity.WorkflowTaskLogEntity;

import java.util.List;
import java.util.Map;


/**
 */
public interface WorkflowTaskLogModel extends IModel<WorkflowTaskLogEntity> {

   @Override
   Integer insert(WorkflowTaskLogEntity entity);

   void insertBatch(List<WorkflowTaskLogEntity> list);

   @Override
   List<WorkflowTaskLogEntity> findEntitys(Map<String, Object> param);

   @Override
   Integer getEntitysCount(Map<String, Object> param);

   @Override
   Integer update(WorkflowTaskLogEntity entity);

   WorkflowTaskLogEntity getByKey(Long key, String corpid);

    WorkflowTaskLogEntity getByTaskid(Long taskId, String corpid);

    void deleteByTaskIds(String corpid, List<Long> taskIds);
}
